package com.ios.common.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * IosSysOrg entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ios_sys_org", catalog = "ios")
public class IosSysOrg implements java.io.Serializable {

	// Fields

	private Long orgId;
	private String orgCode;
	private String orgSpell;
	private String orgName;
	private String orgTell;
	private String orgFax;
	private String orgLeader;
	private Long parentId;
	private String remark;

	// Constructors

	/** default constructor */
	public IosSysOrg() {
	}

	/** full constructor */
	public IosSysOrg(String orgCode, String orgSpell, String orgName,
			String orgTell, String orgFax, String orgLeader, Long parentId,
			String remark) {
		this.orgCode = orgCode;
		this.orgSpell = orgSpell;
		this.orgName = orgName;
		this.orgTell = orgTell;
		this.orgFax = orgFax;
		this.orgLeader = orgLeader;
		this.parentId = parentId;
		this.remark = remark;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "org_id", unique = true, nullable = false)
	public Long getOrgId() {
		return this.orgId;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}

	@Column(name = "org_code")
	public String getOrgCode() {
		return this.orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	@Column(name = "org_spell")
	public String getOrgSpell() {
		return this.orgSpell;
	}

	public void setOrgSpell(String orgSpell) {
		this.orgSpell = orgSpell;
	}

	@Column(name = "org_name")
	public String getOrgName() {
		return this.orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	@Column(name = "org_tell")
	public String getOrgTell() {
		return this.orgTell;
	}

	public void setOrgTell(String orgTell) {
		this.orgTell = orgTell;
	}

	@Column(name = "org_fax")
	public String getOrgFax() {
		return this.orgFax;
	}

	public void setOrgFax(String orgFax) {
		this.orgFax = orgFax;
	}

	@Column(name = "org_leader")
	public String getOrgLeader() {
		return this.orgLeader;
	}

	public void setOrgLeader(String orgLeader) {
		this.orgLeader = orgLeader;
	}

	@Column(name = "parent_id")
	public Long getParentId() {
		return this.parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	@Column(name = "remark")
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}